型エイリアス: MutationLike<TRoot, TProcedure>
MutationLike: <
TRoot,TProcedure>オブジェクト
指定されたミューテーションプロシージャのインターフェースに一致するミューテーションルートを記述するために使用します。
型パラメータ
| パラメータ |
|---|
TRoot extends AnyRootTypes |
TProcedure extends AnyProcedure |
型宣言
useMutation
useMutation: (opts?) => InferMutationResult< TRoot, TProcedure>>
パラメータ
| パラメータ | 型 |
|---|---|
opts? | InferMutationOptions< TRoot, TProcedure>> |
戻り値
InferMutationResult< TRoot, TProcedure>>
ソース
packages/react-query/src/shared/polymorphism/mutationLike.ts:15
TypeDoc と typedoc-plugin-markdown を使用して生成されました